@import './base.css';

/* 自定义拖动区域样式 - 仅窗口边缘可拖动 */
.drag-region {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 20px;
  background-color: transparent;
  z-index: 1000;
  pointer-events: auto;
  -webkit-app-region: drag;
}

/* 确保页面内容不会被拖动区域遮挡 */
#app {
  margin-top: 20px;
}

/* 在拖动区域内排除按钮等交互元素 */
.drag-region button,
.drag-region input,
.drag-region a {
  -webkit-app-region: no-drag;
}

#app {
  /* max-width: 1280px; */
  margin: 0 auto;
  padding: 2rem;
  font-weight: normal;
}

a,
.green {
  text-decoration: none;
  color: hsla(160, 100%, 37%, 1);
  transition: 0.4s;
  padding: 3px;
}

@media (hover: hover) {
  a:hover {
    background-color: hsla(160, 100%, 37%, 0.2);
  }
}

@media (min-width: 1024px) {
  body {
    /* display: flex; */
    place-items: center;
  }

  #app {
    /* display: grid; */
    grid-template-columns: 1fr 1fr;
    padding: 0 2rem;
  }
}
